import java.util.Arrays;
import java.util.List;

/**
 * 十月二十九日随堂练习import
 */

public class ArrayToList {
    public static void main(String[] args) {
        String[]array = {"A","B","C","D"};

        //数组转换为列表
        List<String>list = Arrays.asList(array);

        System.out.println("列表内容："+list);
    }

}



